<!DOCTYPE HTML>
<html>

<head>
    <meta charset="utf-8">
    <title>保洁绿化</title>
    <meta name="viewport"
        content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <link rel="stylesheet" type="text/css" href="../css/api.css" />
    <link rel="stylesheet" type="text/css" href="../css/aui.css" />
    <link rel="stylesheet" type="text/css" href="../css/aui-pull-refresh.css" />
    <link rel="stylesheet" type="text/css" href="../css/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="css/form.css" />
    <link rel="stylesheet" type="text/css" href="css/comm.css" />
    <link rel="stylesheet" type="text/css" href="css/plantasklist.css" />
    <link rel="stylesheet" type="text/css" href="css/plandevicetaskdetail.css" />
    <link rel="stylesheet" type="text/css" href="css/typelist.css" />
</head>

<body>
    <div id="app" v-cloak>
        <!-- 弹框黑色背景 -->
        <div v-on:click="doHideSearch()" v-if="showTop||showsearch" class="maskbg">
        </div>
        <!-- <div  v-if="showTop" class="choosebox showTopstyle" style="height:120px;">
            <div class="topstyle" v-on:click="select_status(0)">未开始</div>
            <div class="topstyle" v-on:click="select_status(1)">进行中</div>
            <div class="topstyle" v-on:click="select_status(2)">已结束</div>
        </div> -->
        <div  v-if="showsearch" class="choosebox" style="height: 70%; top:1.2rem;">
            <div class="aui_list boxarea mainbox" v-for="item in selectlist" style="width: 92%; float: left; margin-top: 20px; margin-left: 4%;">
                <div class="work_title">
                    {{item.DevicePlanName}}
                </div>
                <div class="work_con_box_time marginheight">
                    <!-- <div class="work_con_box_left">起止时间</div> -->
                    <div class="work_con_box_right">
                        <label>起止时间：{{item.StartTime}} ~ {{item.EndTime}}<span v-if="item.OutTimeStatusDesc=='超时'"
                                class="overtime">{{item.OutTimeStatusDesc}}</span></label>

                    </div>
                </div>
                <div class="work_con_box_time marginheight">
                    <!-- <div class="work_con_box_left">任务进度</div> -->
                    <div class="work_con_box_right">
                        <div class="prograssbg">
                            <div class="prograssmsg"
                                v-bind:style="{'width':((item.completeCount/item.count)*100).toFixed(2)+'%'}"></div>
                        </div>
                        <div class="content"><span>{{item.completeCount}}/{{item.count}}</span><span
                                class="percent">{{((item.completeCount/item.count)*100).toFixed(2)}}%</span></div>
                    </div>
                </div>
                <div class="work_con_box_name marginheight">
                    <!-- <div class="work_con_box_left">负&nbsp;&nbsp;责&nbsp;&nbsp;人</div> -->
                    <div class="work_con_box_right">
                        <label>负责人：{{item.TaskChargeManName}}</label>
                    </div>
                </div>
                <div v-if="item.TaskStatus==1" class="work_beginbtnty3" v-on:click="open_list(item)">开始任务</div>
                <div v-if="item.TaskStatus==2" class="work_beginbtnty3" v-on:click="open_list(item)">继续执行</div>
                <div v-if="item.TaskStatus==3" class="work_beginbtnty3" v-on:click="open_list(item)">查看详情</div>
            </div>
        </div>

        <div id="topheader" class="aui-content headerBox">
            <div class="fullName" id="chooseproject" v-on:click="select_allstatus()" >
                <span class="new-span-width">
                    待处理{{number}}
                    <i  v-if="showsearch==true" class="icon iconfont icon-shangjiantou"></i>
                    <i v-if="showsearch==false" class="icon iconfont icon-down"></i>
                </span>
                
                <div class="cl"></div>
            </div>
        </div>
        <section id="main_refresh" class="aui-refresh-content">
            <div class=" aui_listbox">
                <div v-bind:id="'scroll' + item.JpushLogID" class="typeitem" v-for="item in list">
                    <div class="boxtime">{{item.JpushAddTime}}</div>
                    <div class="boxbg">
                    <div class="boxcenter"> 
                        <div class="boxpic"><img src="../image/icon/huanjing.png"></div>
                        <div class="aui_list boxarea mainbox">
                            <div class="work_title">
                                {{item.DevicePlanName}}
                            </div>
                            <div class="work_con_box_time marginheight">
                                <!-- <div class="work_con_box_left">起止时间</div> -->
                                <div class="work_con_box_right">
                                    <label>起止时间：{{item.StartTime}} ~ {{item.EndTime}}<span v-if="item.OutTimeStatusDesc=='超时'"
                                            class="overtime">{{item.OutTimeStatusDesc}}</span></label>
        
                                </div>
                            </div>
                            <div class="work_con_box_time marginheight">
                                <!-- <div class="work_con_box_left">任务进度</div> -->
                                <div class="work_con_box_right">
                                    <div class="prograssbg">
                                        <div class="prograssmsg"
                                            v-bind:style="{'width':((item.completeCount/item.count)*100).toFixed(2)+'%'}"></div>
                                    </div>
                                    <div class="content"><span>{{item.completeCount}}/{{item.count}}</span><span
                                            class="percent">{{((item.completeCount/item.count)*100).toFixed(2)}}%</span></div>
                                </div>
                            </div>
                            <div class="work_con_box_name marginheight">
                                <!-- <div class="work_con_box_left">负&nbsp;&nbsp;责&nbsp;&nbsp;人</div> -->
                                <div class="work_con_box_right">
                                    <label>负责人：{{item.TaskChargeManName}}</label>
                                </div>
                            </div>
                            <div v-if="item.TaskStatus==1" class="work_beginbtnty3" v-on:click="open_list(item)">开始任务</div>
                            <div v-if="item.TaskStatus==2" class="work_beginbtnty3" v-on:click="open_list(item)">继续执行</div>
                            <div v-if="item.TaskStatus==3" class="work_beginbtnty3" v-on:click="open_list(item)">查看详情</div>
                        </div>

                    </div>
                </div>
                </div>


                
                <div v-if="list.length>0" class="notodayList" style="background:none;">
                    没有更多内容
                </div>
            </div>
            <div class="noinfo" id="noorder" v-if="list.length<=0">
                <img src="../image/index/noinfomsg_icon.png" alt="" />
                <h5><br />暂无相关数据</h5>
            </div>
        </section>
        <div v-if="form.status==2" class="bottom">
            <div class="aui_bottombtn" v-on:click="do_save()">完成</div>
        </div>
    </div>
</body>
<script type="text/javascript " src="../script/api.js "></script>
<script type="text/javascript " src="../script/vue.js "></script>
<script type="text/javascript" src="../script/config.js"></script>
<script type="text/javascript" src="../script/common.js"></script>
<script type="text/javascript" src="../script/aui-toast.js"></script>
<script type="text/javascript" src="../script/aui-tab.js"></script>
<script type="text/javascript" src="../script/aui-pull-refresh.js"></script>
<script type="text/javascript" src="../script/aui-scroll.js"></script>
<script type="text/javascript" src="../script/aui-popup.js"></script>
<script type="text/javascript " src="js/bjlh_typelist.js "></script>

</html>